
var obj ={}

Object.defineProperty(obj,'name', {
  value: 'value',
  writable: true,
  configurable: true
});
console.log(obj.name)